/* 基础重置 */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #0f192a;
    color: #fff;
}

/* 布局结构 */
.container {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 80px 1fr;
    grid-template-columns: 30% 40% 30%;
    gap: 10px;
    padding: 10px;
    box-sizing: border-box;
}

.header {
    grid-column: 1 / 4;
    background: linear-gradient(to right, #051937, #1a3e6a);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
}

.left-panel, .center-panel, .right-panel {
    background-color: rgba(15, 25, 42, 0.8);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(26, 161, 253, 0.3);
}

/* 标题样式 */
h2 {
    margin-top: 0;
    color: #1aa1fd;
    border-bottom: 1px solid rgba(26, 161, 253, 0.3);
    padding-bottom: 10px;
}

/* 数据卡片 */
.data-card {
    background: rgba(26, 161, 253, 0.1);
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.data-card span:first-child {
    color: #a0c4ff;
}

.data-card span:last-child {
    font-size: 1.2em;
}

/* 图表容器 */
.chart-container {
    margin-bottom: 20px;
    height: 300px;
}

/* 表格样式 */
.table-container {
    max-height: 250px;
    overflow-y: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid rgba(26, 161, 253, 0.3);
}

th {
    color: #1aa1fd;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 161, 253, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(26, 161, 253, 0.5);
    border-radius: 10px;
}

/* 时间显示样式 */
.current-time {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #fff;
    text-shadow: 0 0 10px rgba(26, 161, 253, 0.8);
}